﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace X.WPF.Controls.Sample.Models
{
    public static class WrapExtension
    {
        /// <summary>
        /// 包裹模型
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="model">模型</param>
        /// <returns></returns>
        public static Wrap<T> Wrap<T>(this T model)
        {
            return new Wrap<T>(model);
        }
    }
}
